import { useNavigate } from "react-router-dom"


function Chuan() {
    const navigate = useNavigate()
  return (
    <div>
      1233
      <button onClick={() => navigate('/chuant/2')}>点击</button>
    </div>
  )
}

export default Chuan
